﻿Imports System.Collections.Generic
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.ItemInfoSchema

    Public Class page

        Private intGlobalSearch As Integer
        Private strLang As String
        Private strRequestQuery As String
        Private strRequestURL As String
        Private iiItemInfo As New List(Of itemInfo)

        <XmlAttribute()> Public Property globalSearch() As Integer
            Get
                Return intGlobalSearch
            End Get
            Set(ByVal value As Integer)
                intGlobalSearch = value
            End Set
        End Property

        <XmlAttribute()> Public Property lang() As String
            Get
                Return strLang
            End Get
            Set(ByVal value As String)
                strLang = value
            End Set
        End Property

        <XmlAttribute()> Public Property requestQuery() As String
            Get
                Return strRequestQuery
            End Get
            Set(ByVal value As String)
                strRequestQuery = value
            End Set
        End Property

        <XmlAttribute()> Public Property requestUrl() As String
            Get
                Return strRequestURL
            End Get
            Set(ByVal value As String)
                strRequestURL = value
            End Set
        End Property

        <XmlElement()> Public Property itemInfo() As List(Of itemInfo)
            Get
                Return iiItemInfo
            End Get
            Set(ByVal value As List(Of itemInfo))
                iiItemInfo = value
            End Set
        End Property

    End Class

End Namespace